package com.zm.mybatis.damai.bean;

import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

@Data
public class Orders {
    private Integer id;
    private Double total;
    private Timestamp createtime;
    private Integer state;
    private Integer uid;
    private Integer aid;
    //一对多
    private List<OrderItem> items;

    private User user;
}
